package com.isoft.filelistener.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DfmeBllsdfltson {

    @JacksonXmlProperty(localName = "BTNO")
    private String bllsBtno;

    @JacksonXmlProperty(localName = "ID")
    private String bllsId;

    @JacksonXmlProperty(localName = "CODE")
    private String bllsCode;

    @JacksonXmlProperty(localName = "BTAT")
    private String bllsBtat;

    @JacksonXmlProperty(localName = "ESTR")
    private String bllsEstr;

    @JacksonXmlProperty(localName = "EEND")
    private String bllsEend;

    @JacksonXmlProperty(localName = "RSTR")
    private String bllsRstr;

    @JacksonXmlProperty(localName = "REND")
    private String bllsRend;

    @JacksonXmlProperty(localName = "BTSC")
    private String BTSC1;

    @JsonSetter("BTSC")
    public void setBTSC1(String BTSC1) {
        if (this.BTSC1==null)
            this.BTSC1 = BTSC1;
    }

    private String BTSC2="";
}
